package com.inplaceedit.client.ui.note;

import com.google.gwt.editor.client.IsEditor;
import com.google.gwt.editor.client.adapters.ListEditor;
import com.inplaceedit.client.ui.SaveCancelDialog;
import com.inplaceedit.shared.dto.NoteDto;

public interface NoteListDisplay extends
		IsEditor<ListEditor<NoteDto, NoteEditor>> {
	public static interface Handler {
		void onDelete(NoteDto object);

		void onEdit(NoteDto object, NoteEditor editor, SaveCancelDialog dialog);
	}

	void setHandler(Handler handler);
}
